Aspects for Modularizing Collaborating Behaviors in Method Implementation

نویسندگان

  • Donglin Liang
  • Yi Guo
چکیده

A method of a class in an object-oriented (OO) program often must implement collaborating behaviors that require multiple inter-dependent tasks to be performed within the same period of time to accomplish a certain goal. To achieve the separation of concerns in the description of a collaborating behavior, the tasks involved and the protocol through which these tasks interact should be modularized and described separately. This paper presents a new programming technique to support such a modularization strategy during method design. With examples, we illustrate that our technique may allow the achievement of better modularity in an OO program than using existing techniques.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Aspectual Threads for Modularizing Collaborating Behaviors in OO Programs

A method of a class in an object-oriented (OO) program often must implement collaborating behaviors that require multiple inter-dependent tasks to be performed within a certain period of time to accomplish a specific goal. To achieve the separation of concerns in the description of a collaborating behavior, the tasks involved and the protocol through which these tasks interact should be modular...

متن کامل

The Proxy Inter-Type Declaration

Aspect-oriented programming [16] with its support for modularizing crosscutting concerns opens up the vision that component middleware can be replaced by sets of collaborating aspects that implement the infrastructural services. In this way, application servers could be customized on a perproject basis, as they are no longer monolithic applications. In order for this vision to become reality it...

متن کامل

Assessing the Impact of Aspects on Design By Contract Effort: A Quantitative Study

Although it is assumed that the implementation of design by contract is better modularized by means of aspectoriented (AO) programming, there is no empirical evidence on the effectiveness of AO for modularizing non-trivial design by contract code in well-understood modularity attributes. This paper reports a quantitative case study of the adequacy of aspects for modularizing design by contract ...

متن کامل

Seriously Implementing Health Capacity Strengthening Programs in Africa; Comment on “Implementation of a Health Management Mentoring Program: Year-1 Evaluation of Its Impact on Health System Strengthening in Zambézia Province, Mozambique”

Faced with the challenges of healthcare reform, skills and new capabilities are needed to support the reform and it is of crucial importance in Africa where shortages affects the health system resilience. Edwards et al provides a good example of the challenge of implementing a mentoring program in one province in a sub-Saharan country. From this example, various aspects of strengthening the cap...

متن کامل

A Quantitative Study on the Aspectization of Exception Handling

It is usually assumed that the implementation of exception handling can be better modularized by the use of aspect-oriented programming (AOP). However, the trade-offs involved in using AOP with this goal are not yet wellunderstood. To the best of our knowledge, no work in the literature has attempted to assess whether AOP really promotes an enhancement in well-understood quality attributes othe...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005